package com.cloudcc.mobile.dao.impl;

import java.net.URLEncoder;

import com.cloudcc.mobile.AppContext;
import com.cloudcc.mobile.dao.GetGroupInfoDao;
import com.cloudcc.mobile.util.NetWork;
import com.cloudcc.mobile.util.Tools;
import com.cloudcc.mobile.util.UrlTools;

public class GetGroupInfoDaoImpl implements GetGroupInfoDao{
	/**	 * 获取组的信息	 */
	@Override
	public String getgroupinfo(String data) {
		String json="";
		try {
			String Data=URLEncoder.encode(data,"utf-8");
			String url=UrlTools.url+UrlTools.url_path+"serviceName=getGroupInfo&data="+Data+"&binding="+AppContext.binding;
			json=NetWork.get(url.trim());
		} catch (Exception e) {
			Tools.handle(e);
		}
		return json;
	}
}
